﻿using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace X23.EFCore.Mapping.Role
{
    public class RoleMapping : Mapping<Model.Role.Role>
    {
        public override void OtherConfigure(EntityTypeBuilder<Model.Role.Role> builder)
        {
            builder.Property(x => x.Name).HasMaxLength(20);
        }
    }
}
